home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
prop_man.zip
/
SANCTION.SAB
< prev
next >
Wrap
Text File
|
1991-10-10
|
2KB
|
44 lines
label start
cls
display cp.dis
write "SANCTION.SAB" at 2,36
write "GR Sanction Accounting" at 5,29
set v hg to ""
fillin hg using "(E)dit An Account, (A)dd A New Record Or <ESC> " at 8,16
if hg = "" then ; goto fin ; endif
if hg = "e" then ; goto edrec ; endif
if hg = "a" then ; goto adrec ; endif
goto start
label adrec
write " " at 8,14
set v code to ""
fillin code using "Enter Entire ADD.CODE (or <ESC>) " at 8,12
if code = "" then ; goto fin ; endif
append cur.mast to sanction where add.code = .code
set v nam to ""
fillin nam using "Enter ENTIRE Name Of Sanctioned Tenant " at 10,12
cha tenant1 to .nam in sanction whe count = last
set v whn to ""
set v whn date
set v hm to sanctime in cur.mast where add.code = .code
set v thm to (.hm + 1)
change sanctime to .thm in cur.mast where add.code = .code
fillin whn using "Enter Effective Date Of Sanction " at 12,12
change eff.date to .whn in sanction where eff.date fails
change sancdate to .whn in cur.mast where add.code = .code
change rec.date to .#date in sanction where rec.date fails
change wattn to "7" in cur.mast where add.code = .code
edit using sanction where add.code = .code and rec.date = .#date
goto start
label edrec
write " " at 8,14
set v code to ""
fillin code using "Enter All Or A Portion Of ADD.CODE (or <ESC> " at 8,12
if code = "" then ; goto start ; endif
edit using sanction where add.code contains .code
goto start
label fin
cls
return